package com.lesso.lpq.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lpq.sunflower.model.EmployeeAttendanceRule;
import com.lesso.lpq.sunflower.pojo.dto.EmployeeAttendanceRuleDTO;
import com.lesso.lpq.sunflower.pojo.dto.EmployeeAttendanceRuleQueryDTO;
import com.lesso.lpq.sunflower.pojo.vo.EmployeeAttendanceRuleVO;

/**
 * @ClassName : EmployeeAttendanceRuleRepository
 * @Description :
 * @Author : 罗培棋
 * @Date: 2025-07-05 17:12
 */
public interface EmployeeAttendanceRuleRepository {
    Long save(EmployeeAttendanceRule employeeAttendanceRule);

    Page<EmployeeAttendanceRuleVO> getPageList(EmployeeAttendanceRuleQueryDTO dto);

    Page<EmployeeAttendanceRuleVO> getCustomPageList(EmployeeAttendanceRuleQueryDTO dto);

    void removeById(Long id);

    void updateById(EmployeeAttendanceRuleDTO dto);

    EmployeeAttendanceRuleVO getByEmployeeId(String employeeId);
}
